package tee;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * tee密钥表
 * @TableName sp_tee_key
 */
@TableName(value ="sp_tee_key")
@Data
public class SpTeeKey implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 公钥
     */
    private String publicKey;

    /**
     * 私钥
     */
    private String privateKey;

    /**
     * 
     */
    private Long nodeId;

    /**
     * 所属, 自己或者他人,SELF,OTHER
     */
    private String belong;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}